/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com;

/**
 *
 * @author Nhan
 */
public class Cart {

   public int getId() {
       return id;
   }

   int id;
   public String getAuthor() {
        return author;
    }

    public String getImage() {
        return image;
    }

    public float getPrice() {
        return price;
    }

    public String getTitle() {
        return title;
    }

    public String getType() {
        return type;
    }

    String title = "";
    String image = "";
    String author = "";
    String type = "";

    public int getNumItem() {
        return numItem;
    }

    public void setNumItem(int numItem) {
        this.numItem = numItem;
    }
    public int numItem;
    public float price;

    public Cart(int id, String title, String image, String author, String type, int numItem, float price) {
        this.id = id;
        this.title = title;
        this.image = image;
        this.author = author;
        this.type = type;
        this.price = price;
        this.numItem = numItem;
    }

}